package com.uphone.kingmall.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.china.zhuoyue.R;
import com.uphone.kingmall.bean.LocationAddressInfo;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/29
 *     desc   :
 * </pre>
 */
public class PoiSearchAdapter extends BaseQuickAdapter<LocationAddressInfo, BaseViewHolder> {
    public PoiSearchAdapter() {
        super(R.layout.kingmall_item_poi_search);
    }

    @Override
    protected void convert(BaseViewHolder helper, LocationAddressInfo item) {
        helper.setText(R.id.tv_address, item.getTitle() + "");
        helper.setText(R.id.tv_address_detail, item.getText() + "");
    }
}
